home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / Sample Code / Development Additions / Build Support / SCVars.make < prev    next >
Encoding:
Text File  |  1995-12-06  |  1.7 KB  |  74 lines  |  [TEXT/MPS ]

  1. #
  2. #    File:        SC.make
  3. #
  4. #    Contains:    Build variables for SC compiler
  5. #
  6. #    Written by:    Steve Smith
  7. #
  8. #    Copyright:    © 1994,95 by Apple Computer, Inc., all rights reserved.
  9. #
  10. #    Change History (most recent first):
  11. #
  12.  
  13. DumpFileSize = 2000
  14.  
  15. # ----------------------------------------------------------------------
  16. # Compiler
  17. # ----------------------------------------------------------------------
  18.  
  19. C = SC
  20.  
  21. SymOption = full
  22. MacsbugOption = full
  23. OptimizationOption = off
  24. CodeModelOption = cfmflat
  25. CodeSegmentOptions = -bigseg -onefrag
  26. InlineStringsOption = -b3
  27. CodeGenOptions = -mc68030
  28. StructAlignmentOption = mac68k
  29. WarningOption = -w 17
  30.  
  31. GOptions =     -d _PLATFORM_MACINTOSH_=1            ∂
  32.             -d _PLATFORM_BIG_ENDIAN_=1            ∂
  33.             -align {StructAlignmentOption}        ∂
  34.             {CodeGenOptions}                    ∂
  35.             -model {CodeModelOption}            ∂
  36.             {CodeSegmentOptions}                ∂
  37.             -sym {SymOption}                    ∂
  38.             -mbg {MacsbugOption}                ∂
  39.             {InlineStringsOption}                ∂
  40.             -opt {OptimizationOption}            ∂
  41.             {WarningOption}
  42.  
  43. COptions = {GOptions}
  44. CPlusOptions = {GOptions}
  45.  
  46. # ----------------------------------------------------------------------
  47. # Linker
  48. # ----------------------------------------------------------------------
  49.  
  50. LinkTool = ILink
  51.  
  52. ILinkOptions =    -model {CodeModelOption}    ∂
  53.                 -sym {SymOption}            ∂
  54.                 -mf
  55.  
  56. ILinkShLibOptions =  -xm s
  57.  
  58. ShLibPreLibraries = 
  59.  
  60. ShLibPostLibraries = {Default68kPostLibs}
  61.  
  62. # ----------------------------------------------------------------------
  63. # Post Processing
  64. # ----------------------------------------------------------------------
  65.  
  66. SymTool = ILinkToSym
  67.  
  68. MergeFragmentOptions = -c
  69. MergeFragment68KOption = -t m68k
  70. MergeFragmentShLibOptions = {MergeFragment68KOption}
  71.  
  72. MakeSymOptions = -i "{OpenDocDir}" -r
  73.  
  74.